

<%@page contentType="text/html" pageEncoding="UTF-8" errorPage="error.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <table width="1000" align="center" height="300">
            <tr>
                <td align="center">
                    Register Success ! Wait 5 seconds the web page will automatically transfer to home page
                    <br/> Or click <a href="home.jsp">here</a> to home page !!!
                    <%
                                try {
                                    Thread.currentThread().sleep(5000);
                                    response.sendRedirect("home.jsp");
                                } catch (InterruptedException ex) {
                                    ex.printStackTrace();
                                }
                    %>
                </td>
            </tr>
        </table>
    </body>
</html>





